#ifndef CONFMANAGER_H
#define CONFMANAGER_H

#include <QObject>
#include "system_conf_cache.h"
class ConfManager : public QObject
{
    Q_OBJECT
public:
    static ConfManager* getInstance(){
        return confManager;
    }
    void init(QString path);
    QMap<QString,QString> getConfMap(){
        return systemConf->getConfMap();
    }
signals:

public slots:

private:
    ConfManager(QObject *parent = nullptr);
private:
    static ConfManager* confManager;
    SystemConfCache *systemConf;
};

#endif // CONFMANAGER_H
